package com.his.registration.service.impl;

import com.his.registration.mapper.MedicalRecordDiseaseMapper;
import com.his.registration.pojo.MedicalRecordDisease;
import com.his.registration.service.MedicalRecordDiseaseService;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @BelongsProject: workspace-idea
 * @BelongsPackage: com.his.registration.service.impl
 * @Author: ZhangYing
 * @Date: 2023/7/3 15:19
 * @Description:
 */
@Service
public class MedicalRecordDiseaseServiceImpl implements MedicalRecordDiseaseService {
    @Autowired
    private MedicalRecordDiseaseMapper medicalRecordDiseaseMapper;

    @Override
    public int insert(MedicalRecordDisease medicalRecordDisease) {
        return medicalRecordDiseaseMapper.insert(medicalRecordDisease);
    }
}
